Automattic\WooCommerce\GoogleListingsAndAds\Product\WCProductAdapter B

Total Complexity 86
Dependencies 27
Dependents 3
Total lines 648
Lines of code 357
Logical lines of code 184
Comment lines 179
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
get_wc_product_sale_price_effective_date()
A
51 12 28
maybe_map_wc_children_prices()
A
50 11 27
map_wc_product_sale_price()
A
49 9 29
map_wc_shipping_dimensions()
S
48 5 38
map_wc_product_image()
S
52 5 24
get_wc_product_description()
S
58 5 15
map_gla_attributes()
S
60 4 13
map_wc_product_shipping()
S
54 3 23
map_wc_product_price()
S
56 3 19
validate_item_group_id()
S
68 4 7
map_woocommerce_product()
S
61 3 12
map_wc_general_attributes()
S
61 3 12
mapTypes()
S
62 3 11
load_validator_metadata()
S
46 1 39
map_wc_shipping_weight()
S
59 2 15
is_wc_product_visible()
S
71 2 6
map_wc_prices()
S
68 2 8
map_wc_availability()
S
73 2 5
map_tax_excluded()
S
74 1 4
is_variation()
S
80 1 3
is_variable()
S
80 1 3
is_virtual()
S
81 1 3
get_wc_product()
S
82 1 3
map_wc_product_id()
S
72 1 5
setTargetCountry()
S
74 1 5